package com.example.permissionsystem1_1.businessFunction.service.interfaces;

import com.example.permissionsystem1_1.businessFunction.service.entity.reqModel.departmentUserReqModel.DepartmentUserSelectAllDepartmentsByUserIdReqModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.reqModel.departmentUserReqModel.DepartmentUserSetDepartmentUserRelationReqModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.reqModel.userRoleReqModel.UserRoleSelectAllRolesByUserIdReqModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.reqModel.userRoleReqModel.UserRoleSetUserRoleRelationReqModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.rspModel.departmentUserRspModel.DepartmentUserSelectAllDepartmentsByUserIdRspModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.rspModel.departmentUserRspModel.DepartmentUserSetDepartmentUserRelationRspModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.rspModel.userRoleRspModel.UserRoleSelectAllRolesByUserIdRspModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.rspModel.userRoleRspModel.UserRoleSetUserRoleRelationRspModel;
import com.example.permissionsystem1_1.common.businessFunction.BaseService;

public interface UserRoleService extends BaseService {

    /**
     * 根据用户id查询全部角色信息
     * @param reqModel
     * @return
     */
    UserRoleSelectAllRolesByUserIdRspModel selectAllDepartmentsByUserId(UserRoleSelectAllRolesByUserIdReqModel reqModel);

    /**
     * 设置用户与角色的关联关系
     * @param reqModel
     * @return
     */
    UserRoleSetUserRoleRelationRspModel setUserRoleRelation(UserRoleSetUserRoleRelationReqModel reqModel);



}
